Repository navigation
[CI] Test Python 3.10–3.15 and fail on unexpected deprecations - #166
Open
michaelshin wants to merge 1 commit into
Open
michaelshin wants to merge 1 commit into
michaelshin wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SDK declares Python >=3.10, but its test workflow only runs on 3.10. Add a 3.10–3.15 matrix, covering both the declared floor and the Python 3.11 publishing runtime. Disable fail-fast so failures on one interpreter do not hide results from the others.
Treat unexpected DeprecationWarning instances as test failures so version-specific deprecations cannot silently pass CI. Tests that explicitly expect deprecation warnings retain their existing pytest.warns assertions. Update checkout and setup-python to v6; leave lint/type checks and publishing on their existing single interpreters.
Validation: all six Python versions passed in the CI test matrix. All 151 sanity tests also passed locally on Python 3.12.11 with deprecation warnings treated as errors. Actionlint v1.7.12 and git diff --check passed.
Fixes #156.